package com.monitor.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.monitor.common.annotation.Excel;
import com.monitor.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 品牌数据中心对象 brand
 * 
 * @author monitor
 * @date 2024-06-11
 */
public class Brand extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 品牌名称 */
    @Excel(name = "品牌名称")
    private String brandName;

    /** 品牌总数 */
    @Excel(name = "品牌总数")
    private Integer brandNumber;

    /** 正常运行总数 */
    @Excel(name = "正常运行总数")
    private Integer normalNumber;

    /** 异常运行总数 */
    @Excel(name = "异常运行总数")
    private Integer abnormalNumber;

    /** 百分比 */
    @Excel(name = "百分比")
    private BigDecimal percent;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBrandName(String brandName) 
    {
        this.brandName = brandName;
    }

    public String getBrandName() 
    {
        return brandName;
    }

    public Integer getBrandNumber() {
        return brandNumber;
    }

    public void setBrandNumber(Integer brandNumber) {
        this.brandNumber = brandNumber;
    }

    public Integer getNormalNumber() {
        return normalNumber;
    }

    public void setNormalNumber(Integer normalNumber) {
        this.normalNumber = normalNumber;
    }

    public Integer getAbnormalNumber() {
        return abnormalNumber;
    }

    public void setAbnormalNumber(Integer abnormalNumber) {
        this.abnormalNumber = abnormalNumber;
    }

    public BigDecimal getPercent() {
        return percent;
    }

    public void setPercent(BigDecimal percent) {
        this.percent = percent;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("brandName", getBrandName())
            .append("brandNumber", getBrandNumber())
            .append("normalNumber", getNormalNumber())
            .append("abnormalNumber", getAbnormalNumber())
            .append("percent", getPercent())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
